package pl.wroc.uni.ii.puzzle.activity;

import android.content.Intent;
import android.test.ActivityInstrumentationTestCase2;

public class PuzzleActivityTest extends
		ActivityInstrumentationTestCase2<PuzzleActivity> {

	public PuzzleActivityTest() {
		super(PuzzleActivity.class);
	}

	@Override
	protected void setUp() throws Exception {
		super.setUp();
		Intent intent = new Intent(getInstrumentation().getTargetContext(),
				PuzzleActivity.class);
		String hardship = "Easy";
		intent.putExtra("hardship", hardship);
		setActivityIntent(intent);
	}

	public void testActivityTestCaseSetUpProperly() {
		assertNotNull("activity should be launched successfully", getActivity());
	}
}